package com.yhb.service;

import com.yhb.model.Message;

import java.util.List;

public interface MessageService {
    void addMessage(Message message, boolean shouldPush);

    List<Message> userMessages(String userId, Message.Type type);
    List<Message> userFirstMessages(String userId, Message.Type type);
}
